import request from "@/api/index.js"

// 获取话题列表
export function getIntactGoodsTopicApi() {
	return request({
		url: `/IntactGoods/family`,
		method: "get"
	})
}
// 關注
export function postUpoloadApi(familyId,articleTitle,articleContent,imgpath,money) {
	return request({
		url: `/IntactGoods`,
		method: "post",
		data: {
			"familyId":familyId, //分类id
			"title": articleTitle, //标题
			"content": articleContent, //内容
			"imageLink": imgpath, //图片链接
			"price": money //价格
		}
	})
}